package 分支;

import java.util.Scanner;
public class 利润 {
    public static void main(String[] args) {
    Scanner input=new Scanner(System.in);
        System.out.println("输入当月利润：");
        int a=input.nextInt();
        if (a<=100000){
            System.out.println("利润为"+(a+a*0.1));
        }else if (a>100000&&a<=200000){
            System.out.println("利润为"+(a+100000*0.1+100000*0.075));
        }else if (a>200000&&a<=400000){
            System.out.println("利润为"+(a+200000*0.05));
        }else if (a>400000&&a<=600000){
            System.out.println("利润为"+(a+200000*0.03));
        }else if (a>600000&&a<=1000000){
            System.out.println("利润为"+(a+a*0.015));
        }else if (a>1000000){
            System.out.println("利润为"+(a+a*0.1));
        }

}
}